package com.chhuang.system.service;

import java.util.List;

import com.chhuang.core.service.IBaseService;
import com.chhuang.system.mapper.ChUserMapper;
import com.chhuang.system.po.ChUser;

/**
* ChUser IService
* @author ChHuang
* @date Fri Mar 03 13:08:17 CST 2017
*/
public interface IChUserService extends IBaseService<ChUserMapper, ChUser> {
	/**
	 * 根据用户名查询
	 * @param username
	 * @return
	 */
	public List<ChUser> findByUsername(String username) throws Exception;
	
	/**
	 * 根据用户编号数组批量删除用户记录
	 * @param userIds
	 * @return
	 * @throws Exception
	 */
	public int deleteByUserIdArray(String[] userIds) throws Exception;
}